package com.ys.erp.stage_user_service.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author lwj
 * @date 2023/5/5
 */
@Data
@Accessors(chain = true)
@Schema(description = "用户返回对象")
public class UserVO {

    @Schema(description = "用户id")
    private Long id;

    @Schema(description = "用户昵称")
    private String nickName;

    @Schema(description = "用户头像")
    private String avatar;

    @Schema(description = "用户真实姓名")
    private String realName;

    @Schema(description = "用户手机号")
    private String phone;

    @Schema(description = "用户订单数")
    private Long orderNum;

    @Schema(description = "国家代码")
    private String countryCode;

    @Schema(description = "用户会员等级")
    private MemberLevelVO memberLevel;

    @Schema(description = "用户幺币")
    private String catMoney;

    @Schema(description = "用户幺豆")
    private String userPulse;

    @Schema(description = "领宠数量")
    private Long catCount;

    @Schema(description = "是否可核销")
    private String isWriteDisable;

    @Schema(description = "是否可核销")
    private Integer isWriteOffCardCoupon;

    @Schema(description = "核销医院id")
    private List<Long> writeOffHospitalIdList;

    @Schema(description = "核销门店code")
    private List<String> writeOffShopCode;

    @Schema(description = "员工备注")
    private String empRemark;

    @Schema(description = "核销备注")
    private String writeOffRemark;

    @Schema(description = "标签")
    private List<String> tags;

    @Schema(description = "渠道员工id")
    private List<Long> channelEmpIds;

    @Schema(description = "渠道来源类型")
    private String channelSourceType;

    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

}
